﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Blog.TemplateEngine.Nodes
{
    class TextNode : INode
    {
        string mContent;

        public TextNode(string content)
        {
            mContent = content;
        }

        protected string Render(Context context)
        {
            return mContent;
        }

        string INode.Render(Context context)
        {
            return Render(context);
        }
    }
}
